using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.Specialized;

namespace AzureusWrapper
{
    public class Request
    {
        private string requestId;
        private string connectionId;
        private string method;
        private StringCollection reqParams;
        private string objectId;

        public string Method
        {
            get
            {
                return method;
            }
            set
            {
                this.method = value;
            }
        }
        public string RequestId
        {
            get
        {
            return requestId;
        }
        }
        public string ConnectionId
        {
            get
            {
                return connectionId;
            }
        }
        public StringCollection Params
        {
            get
            {
                return reqParams;
            }
            set
            {
                this.reqParams = value;
            }
        }
        public string ObjectId
        {
            get
            {
                return this.objectId;
            }
            set
            {
                this.objectId = value;
            }
        }

        public Request(string requestId, string connectionId)
        {
            this.requestId = requestId;
            this.connectionId = connectionId;
            this.Params = new StringCollection();
        }
    }
}
